# -*- coding: utf-8 -*-
from odoo import http

# class Wliot(http.Controller):
#     @http.route('/wliot/wliot/', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/wliot/wliot/objects/', auth='public')
#     def list(self, **kw):
#         return http.request.render('wliot.listing', {
#             'root': '/wliot/wliot',
#             'objects': http.request.env['wliot.wliot'].search([]),
#         })

#     @http.route('/wliot/wliot/objects/<model("wliot.wliot"):obj>/', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('wliot.object', {
#             'object': obj
#         })
